package com.shoulei.designpattern.mediatorPattern;

import java.util.Date;

/**
 * @ClassName:ChatRoom
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/4/14 21:35
 * @Verson:
 */
public class ChatRoom {
    public static void showMessage(User user, String message){
        System.out.println(new Date().toString() +" [" + user.getName()+"]: "+ message);
    }
}
